﻿using Furion.Extras.Admin.NET.OAuth;
using System.Threading.Tasks;

namespace Admin.NET.Core.Weapp
{
    public interface IWeappApi
    {
        Task<Code2SessionModel> Code2SessionAsync(string code, string grant_type = "authorization_code");
        Task<WeappTokenModel> GetAccessTokenAsync();
    }
}
